﻿using System;
using System.Windows;

namespace VSLT_Reporting
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        // This group of strings does not take any String.Format parameters, so I do not add any <summary> comments
        public static readonly string Msg_NOTYETIMPLEMENTED = "This feature is not yet implemented";
        public static readonly string Msg_XMLFORMATTINGERRORTITLE = "Error Formatting  Document as XML";
        public static readonly string Msg_FILEEXISTS = "The file already exists. Do you want to overwrite it?";
        public static readonly string Msg_WARNING = "Warning";
        public static readonly string Msg_FILEFORMATERROR = "Error in the data format chosen";
        public static readonly string Msg_TSSL_COMPLETED_CHART = "Completed the chart";
        public static readonly string Msg_TSSL_CHARTCOPIEDTOCLIPBOARD = "Chart copied to clipboard";
        public static readonly string Msg_TSSL_ERROR_DATAFORMAT = "Error in the data format chosen";
        public static readonly string Msg_TSSL_TIMINGTABLESNOTADDED = "Timing Tables not added to report";
        public static readonly string Msg_CHART_TESTTIMETITLE = "Average Test Time";
        public static readonly string Msg_CHART_TRANSACTIONTIMETITLE = "Average Transaction Time";
        public static readonly string Msg_CHART_PAGETIMETITLE = "Average Page Time";

        /// <summary>
        /// Parameter 0: number of rows
        /// </summary>
        public static readonly string Msg_NUMBEROFRESULTSLOADED = "{0} test run results loaded from DB";

        /// <summary>
        /// Parameter 0: Exception Message
        /// </summary>
        public static readonly string Msg_XMLFORMATTINGERRORMSG = "Error attempting to reformat document as XML.\n{0}\nMost likely cause is that the document is not an XML document";
        
        /// <summary>
        /// Parameter 0: number of stored procedures
        /// Parameter 1: number of seconds it took to execute
        /// </summary>
        public static readonly string Msg_DBUPDATED = "Updated {0} stored procedures and views in {1} seconds";
        
        /// <summary>
        /// Parameter 0: the version number
        /// </summary>
        public static readonly string Msg_REPORTINGENGINEVERSION = "Reporting Engine Version {0}";

        /// <summary>
        /// Parameter 0: number of rows
        /// </summary>
        public static readonly string Msg_ROWSRETURNED = "{0} rows returned";
        
        /// <summary>
        /// Parameter 0: number of tables
        /// </summary>
        public static readonly string Msg_ERROREXECUTINGDATABASEINFO = "Failed to properly retrieve all of the Database Info. Only {0} Tables were found in the result set.";
        
        /// <summary>
        /// Parameter 0: Path to the folder
        /// </summary>
        public static readonly string Msg_CREATEDRESULTSDIRECTORY = "Created the folder '{0}' to store results";

        /// <summary>
        /// Parameter 0: File Name
        /// </summary>
        public static readonly string Msg_FILESAVED = "File '{0}' Successfully Saved";

        /// <summary>
        /// Parameter 0: File Name
        /// </summary>
        public static readonly string Msg_CHARTTEMPLATESAVED = "Chart Schema saved as {0}";

        /// <summary>
        /// Parameter 0: LoadtestName
        /// Parameter 1: RunId
        /// </summary>
        public static readonly string Msg__FILENAMEFORREPORT = "{0} Run{1}";

        /// <summary>
        /// Parameter 0: LoadtestName
        /// Parameter 1: RunId
        /// </summary>
        public static readonly string Msg__FILENAMEFORQUICKREPORT = "{0} Run{1} SUMMARY";

        /// <summary>
        /// Parameter 0: Lowest RunId
        /// Parameter 1: Highest RunId
        /// </summary>
        public static readonly string Msg__FILENAMEFORSCORECARDREPORT = "SCORECARD Runs{0}-{1}";

        /// <summary>
        /// Parameter 0: LoadtestName
        /// Parameter 1: RunId
        /// </summary>
        public static readonly string Msg__FILENAMEFORLOADTESTSETTINGS = "{0} Run{1} TEST SETTINGS";

        /// <summary>
        /// Parameter 0: DatabaseName
        /// </summary>
        public static readonly string Msg__FILENAMEFORDBINFO = "{0} Database Info";

        /// <summary>
        /// Parameter 0: Chart Name
        /// </summary>
        public static readonly string Msg_TSSL_BUILDING_CHART = "Building {0} Chart";

        /// <summary>
        /// Parameter 0: Update message string
        /// Parameter 1: Time Taken
        /// </summary>
        public static readonly string Msg_DATABASEUPDATE_COMPLETED = "{0}\r\nUpdate completed in {1} seconds.";


        public static readonly string Msg_TIMINGRESULTSTABLE_BUTTON = "{0} Timing Results Table (click to copy to clipboard)";
        //public static readonly string Msg_= "";
        //public static readonly string Msg_= "";
        //public static readonly string Msg_= "";
        //public static readonly string Msg_= "";
        //public static readonly string Msg_= "";
        //public static readonly string Msg_= "";
        //public static readonly string Msg_= "";

        
    }
}
